package com.fz.mapper;

import com.fz.entity.Book;

import java.util.List;
import java.util.Map;

/**
 * Created by webrx on 2017/6/30.
 */
public interface BookMapper {
    public List<Book> queryAll();
    public int deleteById(int id);
    public int add(Book book);
    public int addMap(Map<String,Object> map);
    public  int updateById(Map<String,Object> map);
    public  Book queryById(int id);
    public  List<Book> page(Map<String,Integer> map);
}
